package org.platform.executor.system;

import com.mc.mic.core.bus.provider.IMicProviderServiceExecutor;
import org.platform.mo.csmo.cmd50002.AddSystemParamRequestParam;
import org.platform.mo.csmo.cmd50002.AddSystemParamResponseParam;
import org.platform.service.system.SystemParamConfigServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author FengJie
 * @date 2018/8/24
 */
@Service
public class AddSystemParamExecutor implements IMicProviderServiceExecutor<AddSystemParamRequestParam, AddSystemParamResponseParam> {
    @Autowired
    private SystemParamConfigServiceImpl service;

    @Override
    public AddSystemParamResponseParam doExecute(AddSystemParamRequestParam requestParam) {
        return service.addSystemParam(requestParam);
    }
}
